package com.estate.common.core.domain.model.listing;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@JsonIgnoreProperties(ignoreUnknown = true)
public class Price {
    private String text;
    private Integer from;
    private Integer to;

    @JsonProperty("is_hidden")
    private Boolean isHidden;

}
